﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using System.Xml.Serialization;

namespace BYRBBS.Model
{
     [XmlRoot("user")]
    public class UserInfo
    {
         [XmlElement("id")]
        public string Id { get; set; }
         [XmlElement("user_name")]
        public string User_name { get; set; }
         
        public string Password { get; set; }
         [XmlElement("face_width")]
        public string Face_width { get; set; }
         [XmlElement("face_height")]
        public string Face_height { get; set; }
         [XmlElement("gender")]
        public string Gender { get; set; }
         [XmlElement("astro")]
        public string Astro { get; set; }
         [XmlElement("life")]
        public string Life { get; set; }
         [XmlElement("qq")]
        public string Qq { get; set; }
         [XmlElement("msn")]
        public string Msn { get; set; }
         [XmlElement("home_page")]
        public string Home_page { get; set; }
         [XmlElement("level")]
        public string Level { get; set; }
         [XmlElement("is_online")]
        public string Is_online { get; set; }
         [XmlElement("post_count")]
        public string Post_count { get; set; }
         [XmlElement("last_login_time")]
        public string Last_login_time { get; set; }
         [XmlElement("last_login_ip")]
        public string Last_login_ip { get; set; }
         [XmlElement("is_hide")]
        public string Is_hide { get; set; }
         [XmlElement("is_register")]
        public string Is_register { get; set; }
         [XmlElement("score")]
        public string Score { get; set; }
         [XmlElement("face_url")]
        public string Face_url { get; set; }
         [XmlElement("first_login_time")]
        public string First_login_time { get; set; }
         [XmlElement("is_admin")]
        public string Is_admin { get; set; }
         [XmlElement("stay_count")]
        public string Stay_count { get; set; }
         public override string ToString()
         {
             return Id;
         }
    }
}
